﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using System.Text;
using System.Threading;
using System.Globalization;

namespace CopyFilesFromM3U
{
    public static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Principal());
        }

        public static void ReLocalizeAll(System.Globalization.CultureInfo NewCulture)
        {
            System.Threading.Thread.CurrentThread.CurrentUICulture = NewCulture;
            foreach (Form f in Application.OpenForms)
                if (f is IReLocalizable)
                    ((IReLocalizable)f).ReLocalize();
        }
        
    }
}
